<template>
  <view>
    <uni-collapse v-for="(item,index) in list" :key="index">
      <uni-collapse-item :title="item.title">
        <!-- <view class="p-all-20 w100 fs-30" style="color: #000;" >{{item.content}}</view> -->
        <rich-text :nodes="item.content" class="p-all-20 w100 fs-30" style="color: #000;" ></rich-text>
      </uni-collapse-item>
    </uni-collapse>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        list:[]
      };
    },
	onLoad() {
		this.getList()
	},
	methods:{
		getList(){
			this.$tools.axiosFromToken('POST','proconfigsybz/list',{},'加载中').then(res => {
				if(res.code != 200) return this.$tools.showtt(res.msg)
				let {rows} = res
				this.list = rows
			})
		}
	}
  }
</script>

<style lang="scss">

</style>
